<html>

<head>
    <script src="./libs/dat.gui.js"> </script>
    <script src="https://unpkg.com/vue"></script>

    <div id="app">
        <p>{{ message }}</p>
        <input v-model="message">
    </div>
</head>

<body>
    <script>
        var gui = new dat.GUI();
        gui.open();

        var app = new Vue({
            el: '#app',
            data: {
                message: 'Hello Vue.js!'
            },
        });

        var folder = gui.addFolder('App');
        folder.open();
        folder.add(app.$data, 'message').listen();
    </script>
</body>

</html>